'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const { router, controller } = app;
    // start run simulation
    router.post('/api/v1/example/startRun', controller.v1.example.startRun);
    // step run simulation
    router.post('/api/v1/example/stepRun', controller.v1.example.stepRun);
};